import resizeSpan from './resizeSpan'

const install = function(Vue) {
  Vue.directive('el-resize-span-row', resizeSpan)
}

if (window.Vue) {
  window['el-resize-span-row'] = resizeSpan
  Vue.use(install) // eslint-disable-line
}

resizeSpan.install = install
export default resizeSpan
